package com.joysuch.wwyt.bp.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "作业证审核模板")
public class BpWorkSafetyAuditTemplateBean implements Serializable {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("作业证类型")
    private String type;

    @ApiModelProperty("作业级别:0特级;1一级;2二级;3三级")
    private Integer workLevel;
    private String workLevelName;

    @ApiModelProperty("模板审核流程")
    private BpWorkSafetyAuditProcessAddBean processAddBean;

    @ApiModelProperty("编辑人")
    private Long auditerId;
    private String auditerName;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    // @DateTimeFormat(pattern = "yyyy-MMM-dd HH:mm")
    private Date auditTime;

    @ApiModelProperty("模板状态:0启用;1禁用")
    private Integer state;

    @ApiModelProperty("模板状态名称:0启用;1禁用")
    private String stateName;


}
